package com.tianpengtech.common.search;

public class BetweenCondition extends Condition {

    public BetweenCondition(String filedName, Object[] values) {

        this.filedName = filedName;
        this.value = values;
    }

    @Override
    public String buildSQL() {
        this.sqlBuffer.append(" ").append(this.filedName).append(" between ? and ? ");
        return this.sqlBuffer.toString();
    }

}
